package main

import (
	"fmt"
	"strings"
)

func main() {
	songs := map[string]map[string][]string{
		"华语女歌手": {"邓紫棋": {"泡沫", "光年之外"}, "张韶涵": {"隐形的翅膀"}},
		"华语男歌手": {"周杰伦": {"可爱女人", "晴天"}, "林俊杰": {"不为谁而做作的歌"}},
	}
	fmt.Println(strings.Repeat("#", 48))
	fmt.Println(strings.Repeat("^", 20) + "三创音乐" + strings.Repeat("^", 20))
	fmt.Println(strings.Repeat("-", 22) + "菜单" + strings.Repeat("-", 22))
	fmt.Println(strings.Repeat(" ", 8) + "*华语男歌手*" + strings.Repeat(" ", 8) + "*华语女歌手*" + strings.Repeat(" ", 8))
	fmt.Println("请选择:")
	var choice string
	var singer string
	fmt.Scanln(&choice)
	for k, v := range songs {
		if k == choice {
			for k2, _ := range v {
				fmt.Println(k2)
			}
		}
	}
	fmt.Println("请选择歌手:")
	fmt.Scanln(&singer)
	for k, v := range songs {
		if k == choice {
			for k2, v2 := range v {
				if k2 == singer {
					fmt.Println(v2)
				}
			}
		}
	}

}

func sexOfSinger(choice string) {
	if choice == "华语男歌手" {

	} else if choice == "华语女歌手" {

	}
}
